<div class="nav">
	<div class="navtile">
		
	</div>
	<div class="navbutton">
		
<?php 
	$button='';
	$controller_default_button = array('menu','action','block','article','articlecat','block','menu','menucat','contact','user','plugin','template');
	if(in_array($controller,$controller_default_button))
	{
		if($action=='index')
		{
			$button = '<button title="Thêm" class="add button" name="btadd" value="btadd" type="submit"></button>';
			$button .= '<button title="Trang chủ" class="option button" name="bthome" value="bthome" type="submit"></button>';
		}
		if($action=='insert')
		{
			$button .= '<button title="Trở về" class="back button" name="btback" value="btback" type="submit"></button>';
			$button .= '<button title="Trang chủ" class="option button" name="bthome" value="bthome" type="submit"></button>';
		}
		if($action=='update')
		{
			$button .= '<button title="Trở về" class="back button" name="btback" value="btback" type="submit"></button>';
			$button .= '<button title="Trang chủ" class="option button" name="bthome" value="bthome" type="submit"></button>';
		}
		if($action=='images')
		{
			$button = '<button title="Thêm" class="add button" name="btadd" value="btadd" type="submit"></button>';
			$button .= '<button title="Trở về" class="back button" name="btback" value="btback" type="submit"></button>';
			$button .= '<button title="Trang chủ" class="option button" name="bthome" value="bthome" type="submit"></button>';
		}
		if($action=='insertimage')
		{
			$button .= '<button title="Trở về" class="back button" name="btback" value="btback" type="submit"></button>';
			$button .= '<button title="Trang chủ" class="option button" name="bthome" value="bthome" type="submit"></button>';
		}
	
	}
?>
	<?php echo $button;?>
	</div>
</div>
<div class="clear"></div>